// 首页展示
import request from '@/utils/request'

// 新增
export function add(data) {
  return request({
    url: '/bs/shouye/save',
    method: 'post',
    data
  })
}

// 3 导出
export function exportFn(params) {
  return request({
    url: '/bs/shouye/export',
    method: 'get',
    params
  })
}

// 3 移动
export function move(params) {
  return request({
    url: '/bs/shouye/move',
    method: 'get',
    params
  })
}


// 5 分页
export function list(params) {
  return request({
    url: '/bs/shouye/page/list',
    method: 'get',
    params
  })
}

// 6 删除
export function deleteFn(ids) {
  return request({
    url: `/bs/shouye/delete/${ids}`,
    method: 'delete'
  })
}

// 7 修改
export function updateFn(data) {
  return request({
    url: '/bs/shouye/update',
    method: 'put',
    data
  })
}

